package com.fwj.authorization.staff.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fwj.base.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 按钮
 *
 * @author 樊温军
 * @date 2025/3/18 上午10:32
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(description = "按钮")
public class SysButton extends BaseDTO {

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    private Long id;

    /**
     * 菜单编码
     */
    @ApiModelProperty(value = "菜单编码")
    private String menuCode;

    /**
     * 按钮编码
     */
    @ApiModelProperty(value = "按钮编码")
    private String code;

    /**
     * 按钮名称
     */
    @ApiModelProperty(value = "按钮名称")
    private String name;

    /**
     * 图标
     */
    @ApiModelProperty(value = "图标")
    private String icon;

    /**
     * 权限标识
     */
    @ApiModelProperty(value = "权限标识")
    private String area;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private String status;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Long sort;
}
